package com.blb.productservice.config;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import lombok.extern.slf4j.Slf4j;

/**
 * 降级处理类
 */
@Slf4j
public class ProductControllerFallback {

    //自定义降级方法
    public static String helloFallback(){
        return "hello接口降级处理";
    }
}
